<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<style>
@import "./assets/css/main.css";
@import "./assets/css/color-dark.css"; /*深色主题*/
/*@import "./assets/css/theme-green/color-green.css";   浅绿色主题*/

.ScaleCSSViewport_unzoom {
  zoom: calc(1 / var(--zoom));
}
/* .linePage {
       zoom: calc(1 / var(--zoom)) 
    } */

.dialog-enter-active {
  animation: dialog 0.6s ease;
}
.dialog-leave-active {
  animation: dialog 0.6s ease reverse;
}
@keyframes dialog {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
 


</style>

<script>
import DevicePixelRatio from "./utils/devicePixelRatio";
import { disableConsole } from "./utils/disableConsole";
import { goBack } from "./utils/goBack"
export default {
  // 处理缩放
  created() {
    new DevicePixelRatio().init();
  },
  mounted() {
    goBack(this.$router)
    if (process.env.NODE_ENV == "production") {
      // disableConsole();
    }
  },
  watch:{
    'this.$test':function(n,o){
      console.log(n,o)
    }
  }
};
</script>